package edu.sugar.service;

import edu.sugar.bean.KW;
import edu.sugar.mapper.TrafficMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TrafficServiceImpl implements TrafficService{
    @Autowired
    TrafficMapper trafficMapper;

    @Override
    public List<KW> kw(int date) {

        return trafficMapper.kw(date);
    }
}
